<template>
  <div class="col-xs-offset-2 col-xs-8">
    <div class="page-header">
      <h2>Vue Router Demo</h2>
      <button @click="back">back</button>
      <button @click="forward">forward</button>
      <button @click="go">go</button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Banner',
  data() {
    return {}
  },
  created() {},
  methods: {
    back(){
      this.$router.back()
    },
    forward(){
      this.$router.forward()
    },
    go(){
      this.$router.go(-3)
    }
  },
}
</script>

<style lang="less" scoped></style>
